package structures;

import pack.MyReader;

public class CardIccIdentification extends ElementaryFile {

	public static int size = 25;
	
	public final String clockStop; //Octet String (1)
	public final ExtendedSerialNumber cardExtendedSerialNumber;//8
	public final CardApprovalNumber cardApprovalNumber;
	public final String cardPersonaliserId; //Octet String (1)
	public final String embedderIcAssemblerId; //Octet String (5)
	public final String icIdentifier; //Octet String (2)
	
	public CardIccIdentification(MyReader reader) {
		clockStop = reader.readOctet(1);
		cardExtendedSerialNumber = new ExtendedSerialNumber(reader);
		cardApprovalNumber = new CardApprovalNumber(reader);
		cardPersonaliserId = reader.readOctet(1);
		embedderIcAssemblerId = reader.readOctet(5);
		icIdentifier = reader.readHex(2);
	}
}
